home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6573 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: news.mindlink.net!van-bc!vanbc!stoned
  2. From: stoned@vanbc.wimsey.com (Darren Stone)
  3. Newsgroups: comp.ai.fuzzy,comp.lang.basic.visual.misc,comp.lang.c++
  4. Subject: Re: VB, VC++, and Fuzzy Logic
  5. Followup-To: comp.ai.fuzzy,comp.lang.basic.visual.misc,comp.lang.c++
  6. Date: 9 Feb 1996 17:33:43 GMT
  7. Organization: J.W. Suttie & Associates Ltd.
  8. Message-ID: <4fg0hn$27p@wolfe.wimsey.com>
  9. References: <4eh77s$5i@news.uncc.edu> <4fee2o$1ua@usenet6.interramp.com>
  10. NNTP-Posting-Host: vanbc.wimsey.com
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. John M. Miano (visualware@interramp.com) wrote:
  14. : In article <4eh77s$5i@news.uncc.edu>, ihabed@uncc.edu says...
  15. : >... Has anyone done any fuzzy logic programming in VB and if so any 
  16. : >pointers/free source code/etc?  I'll also be putting sample stock data in 
  17. : Access
  18. : >which VB can access (:).  Anyone know if VB can be linked with C++ routines 
  19. : at all, 
  20. : >perhaps saving me some trouble.  Any help would be greatly appreciated.
  21.  
  22. : Dare I say, Delphi?
  23.  
  24. : This is not the sort of thing that VB does well.  On th other hand
  25. : if you need visual then "Visual C++" is clearly not the tool to use.
  26.  
  27. Delphi appears to be a great product, but if you've "only" got VB, have no
  28. fear.  VB does this sort of thing very well.  I've created and used may 
  29. DLL's with VB (3.0 and 4.0).
  30.  
  31. You simply need a declaration for each DLL routine you plan to call
  32. in your VB app.  Something like:
  33.  
  34. Declare Function ProcName Lib "LibName.DLL" (Param1 as String, _
  35.  Param2 as Long) as Long
  36.  
  37. Check your VB manuals/help file for the correct syntax.
  38.  
  39. ------------------+------------------------------------------+---------------
  40. Darren Stone      | Frisbeetarianism, n.:                    |        __/\
  41. Vancouver, B.C.   |  The belief that when you die, your soul |   _o  /  \ \__
  42. stoned@wimsey.com |  goes up on the roof and gets stuck.      __O>O_/ 89FJ600
  43.